.class Lcom/TwinBlade/PicturePassword/bf;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Landroid/preference/Preference$OnPreferenceClickListener;


# instance fields
.field final synthetic a:Lcom/TwinBlade/PicturePassword/Preferences;


# direct methods
.method constructor <init>(Lcom/TwinBlade/PicturePassword/Preferences;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/TwinBlade/PicturePassword/bf;->a:Lcom/TwinBlade/PicturePassword/Preferences;

    .line 32
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onPreferenceClick(Landroid/preference/Preference;)Z
    .locals 6
    .parameter

    .prologue
    .line 34
    iget-object v0, p0, Lcom/TwinBlade/PicturePassword/bf;->a:Lcom/TwinBlade/PicturePassword/Preferences;

    invoke-static {v0}, Lcom/TwinBlade/PicturePassword/Preferences;->a(Lcom/TwinBlade/PicturePassword/Preferences;)Landroid/content/SharedPreferences;

    move-result-object v0

    invoke-interface {v0}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;

    move-result-object v0

    const-string v1, "ThemeColor"

    const/16 v2, 0xff

    const/16 v3, 0x39

    const/16 v4, 0x92

    const/16 v5, 0xb5

    invoke-static {v2, v3, v4, v5}, Landroid/graphics/Color;->argb(IIII)I

    move-result v2

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences$Editor;->putInt(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor;

    move-result-object v0

    invoke-interface {v0}, Landroid/content/SharedPreferences$Editor;->commit()Z

    .line 35
    const/4 v0, 0x1

    return v0
.end method
